﻿namespace NavigateTo2013
{
    using Microsoft.VisualStudio.Services.Integration;
    using System;

    public class Logger
    {
        public static void WriteLine(string message, params object[] args)
        {
            string formattedMessage = string.Format(message, args);
            WriteLine(formattedMessage);
        }

        public static void WriteLine(string message)
        {
            OutputWindowHelper.OutputString(ServiceProvider.Current, DateTime.UtcNow.Ticks + ": "  + message + Environment.NewLine);
        }
    }
}